<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>文件上传</title>
</head>
<body>

    <form action="/books/doimg" method="post" enctype="multipart/form-data">
        头像<input type="file" name="img"/><br/>
        <input type="submit" value="提交">
    </form>
</body>
</html>
